package com.inter.entity.agatewaytobeijing.order.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用json的形式：
 * <p>
 * 请求订购套餐的参数
 *
 * @author lm
 * @date 2020/6/11 14:30
 */
@Data
public class OrderRequest implements Serializable {

    @ApiModelProperty(value = "版本号", example = "", dataType = "String")
    private String version;

    @ApiModelProperty(value = "渠道编码", example = "", dataType = "String")
    private String access_code;

    @ApiModelProperty(value = "发送请求的UTC时间戳", example = "", dataType = "String")
    private String timestamp;

    @ApiModelProperty(value = "设备号", example = "", dataType = "String")
    private String device_id;

    @ApiModelProperty(value = "是否为副号购买套餐", example = "", dataType = "String")
    private String global_order;

    @ApiModelProperty(value = "套餐名称", example = "", dataType = "String")
    private String package_name;

    @ApiModelProperty(value = "套餐编码", example = "", dataType = "String")
    private String package_code;

    @ApiModelProperty(value = "套餐类型", example = "", dataType = "String")
    private String package_type;

    @ApiModelProperty(value = "订购周期", example = "", dataType = "String")
    private String order_period;

    @ApiModelProperty(value = "支付结果", example = "", dataType = "String")
    private String pay_rst;

    @ApiModelProperty(value = "支付方式", example = "", dataType = "String")
    private String pay_type;

    @ApiModelProperty(value = "支付金额", example = "", dataType = "String")
    private String pay_amount;

    @ApiModelProperty(value = "是否立即开通", example = "", dataType = "String")
    private String is_open;

    @ApiModelProperty(value = "是否有测试流量", example = "", dataType = "String")
    private String test_flow_flag;

    @ApiModelProperty(value = "测试流量大小", example = "", dataType = "String")
    private String test_flow;

    @ApiModelProperty(value = "签名", example = "", dataType = "String")
    private String sign;

}
